package com.baitiaojun.auth.service;

import com.baitiaojun.api.domain.auth.UserAuthorities;
import com.baitiaojun.api.domain.auth.UserRole;
import com.baitiaojun.api.exception.ConditionException;

/**
 * @类名 UserAuthoritiesService
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2022/12/7 21:03
 * @版本 1.0
 */
public interface UserAuthoritiesService {

    UserAuthorities getUserAuthorities(Long userId);

    void addDefaultRole(Long userId) throws ConditionException;
}
